SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO
-- =============================================
-- Author:		Paulo Fournier
-- Create date: 2013-01-13
-- Description:	Utilizado para alterar o estado do utilizado
-- =============================================
CREATE PROCEDURE ext.alterarEstadoUtilizador
	-- Add the parameters for the stored procedure here
	@UserId UNIQUEIDENTIFIER, 
	@IsLockedOut BIT
AS
BEGIN
	-- SET NOCOUNT ON added to prevent extra result sets from
	-- interfering with SELECT statements.
	SET NOCOUNT ON;

    -- Insert statements for procedure here
	UPDATE dbo.aspnet_Membership SET IsLockedOut = @IsLockedOut WHERE UserId = @UserId
END
GO
